/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package it.unibo.as.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 *
 * @author Johnny
 */
public interface GWTAccountServiceAsync {

    public void login(String user, String password, AsyncCallback<Boolean> asyncCallback);
    public void signUp(String fname, String lname, String nickname, String email, String password, AsyncCallback<Boolean> asyncCallback);
    public void isLogged(AsyncCallback<String> asyncCallback);
    public void signout(String username, AsyncCallback<Void> asyncCallback);

}
